ModifyAntiBruteForceRule
Description
call the ModifyAntiBruteForceRule to modify the brute-force cracking prevention rule.
Request Method
POST
Request Path
/apsara/route/Sas/ModifyAntiBruteForceRule
Request Parameters Common Parameters
| Name | Location | Type | Required | Sample value | Description |
|---|---|---|---|---|---|
| DefaultRule | BODY | boolean | No | true | whether the added brute-force defense rule is set as the default policy. true: set as default policy false: not set as the default policy |
| ForbiddenTime | BODY | integer | No | 12 | the length of time to prohibit login when adding brute-force defense rules. |
| SourceIp | BODY | string | No | 1.2.3.4 | access the IP address of the source. |
| regionId | BODY | string | Yes | No sample value for this parameter. | region id |
| FailCount | BODY | integer | No | 10 | the threshold for the number of login failures set when adding brute-force defense rules. |
| UuidList.N | BODY | repeatlist | No | uuid-13213-dasda | List of servers where the brute force defense rule takes effect. |
| Id | BODY | long | No | 6263 | ID of brute force cracking defense rules. |
| Span | BODY | integer | No | 10 | the interval between logons set in the brute-force cracking defense rule. |
| version | BODY | string | No | 2016-01-01 | version of api |
| Name | BODY | string | No | best practices | the name of the brute-force defense rule. |
Return data
| Name | Type | Sample value | Description |
|---|---|---|---|
| RequestId | string | F35F45B0-5D6B-4238-BE02-A62D0760E840 | the unique identifier generated by alibaba cloud for this request. |
Example
Successful Response example
{
"RequestId":"F35F45B0-5D6B-4238-BE02-A62D0760E840"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}